速報APP / 生產應用 / System Settings for Tasker

System Settings for Tasker

價格:免費

更新日期:2019-03-17

檔案大小:482k

目前版本:2.6.8

版本需求:Android 2.2 以上版本

官方網站:mailto:whitedavidp@yahoo.com

System Settings for Tasker(圖1)-速報App

SSFT gives Tasker users access to Android Settings information but does not enable the changing of Android settings.

SSFT does nothing on its own. It is an optional companion to Tasker. If you try to execute this app when Tasker is not installed or enabled, you will see an error message. You must enable Tasker's Allow External Access setting located on the Misc tab. Fix the issue, re-start this app, and enable this app via its menu to proceed.

Most of what is described below is case-sensitive. Be exactly correct in what you are entering.

There are three, broad sets of Setting data and SSFT searches for information in the following order:

System

Secure

Global (Android 4.2+)

Please understand that you must use a setting's constant string value with SSFT. For example, the System setting known as BLUETOOTH_ON has a constant string bluetooth_on and this is the name to use with SSFT.

System Settings for Tasker(圖2)-速報App

So let's get started. As a simple test case to get started, we will use the bluetooth_on setting since it is readily available on most devices.

On the SSFT main page, choose Add from the menu. Enter bluetooth_on for name and my_bluetooth_on for nickname. Press OK. The resulting entry in the list means that SSFT will monitor for changes to the data for the setting bluetooth_on and will notify Tasker when its value changes.

Assuming the bluetooth radio is turned ON when you performed the Add, SSFT will store a value of 1 for bluetooth_on. 1 means the bluetooth radio is on. 0 means the bluetooth radio is off.

So if you now turn bluetooth off, the setting bluetooth_on changes to 0 and SSFT sends an intent message to Tasker. You need a Tasker profile that receives the intent. The action for the Intent Received must be com.whitedavidp.systemsettingsfortasker.SETTING_UPDATE. With this, Tasker can take note of the changed setting.

When SSFT sends an intent, it includes two pieces of extra data: nick_name and current_value. In this case, the value for nick_name is my_bluetooth_on and current_value is the setting's value when the intent was sent (in this case either 1 or 0). When processing the Intent Received, Tasker will automatically make this extra data available to your task steps as local variables %nick_name and %current_value respectively.

Now associate the new Tasker profile with a task. To make this easy, we will just make Tasker show an alert whenever a SSFT intent is received. Add a step to the task (Alert->Popup). In the popup task's Title put %nick_name. In the Text put %current_value. Once saved, Tasker should display a popup showing my_bluetooth_on as the title and either a 0 or a 1 in the detail text depending upon the current state of the the bluetooth radio.

If you configure SSFT to monitor additional settings by adding them to the main page, you will get a popup displayed whenever any one of the monitored settings changes. Try extending the list by adding wifi_on. Android uses this setting to track the state of the wifi radio. When off, the value will be 0. When on, the value will be non-zero. Follow the same pattern as above for bluetooth_on but change the nickname to my_wifi_on. Once complete, you will see a popup every time either the bluetooth or wifi radios change their state.

Obviously, this simple test case is of little value to anyone. But it demonstrates the basics. You can use the SSFT intent messages (and the values they contain) within Tasker in any matter you choose. But this all happens inside of Tasker, not in SSFT. So most of this up to you based on your needs.

System Settings for Tasker(圖3)-速報App

For more details, see the help page in the app. Please use the email link on this page or the app's About box for questions. Do not use reviews for this as they are too limited.

System Settings for Tasker(圖4)-速報App